package com.frinder.hadoop.hbase.web;

import com.frinder.hadoop.hbase.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author frinder
 * @date 2018/6/28
 * @Description: ${todo}
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping("/get")
    public String get() {
        userService.get();
        return "successfully...";
    }

}
